Skip to main content

Set Resource Quota

After filling in the Access Level Details, you'll now enter the Resource Quota Page. Providing Resource Quota Details is mandatory in the product. But, before knowing how users can set Resource Quota, let's read about Resource Quota and how it is helpful.

What is Resource Quota?#

A resource quota is a feature in Kubernetes that allows you to limit the quantity of resources (such as CPU and memory) that can be consumed by a set of objects (such as pods, services, and replication controllers) in a namespace. This helps ensure that a namespace's resources are used in a predictable and controlled manner. Also, this prevents one set of objects from monopolizing resources and affecting other objects in the same namespace.

There are two types of Resource Quota,

  • Request Resource Quota
  • Limit Resource Quota

Request Resource Quota#

A Request Resource Quota is a type of resource quota in Kubernetes that specifies the minimum quantity of resources that a pod must request in order to be scheduled.

Limit Resource Quota#

In Kubernetes, a Limit Resource Quota is another type of Resource Quota that allows cluster administrators to limit the quantity of resources that can be used by a namespace or a group of pods.

It's important for you to specify Resource Quota as this leads to better governance and control over cluster resources. This is why it is mandatory to provide Resource Quota details in the Product. Although, it is optional in Kubernetes.

How to set Resource Quota Details?#

You can specify quotas here in the ResourceQuota section. This page shows how to set quotas for the total amount of Memory and CPU that can be used by all Pods running in a namespace. The memory and CPU quota that you allocate for a service applies to every instance of that service across your cluster. All you need to do is,

  • Specify the request Memory and CPU Quota.
  • Enter the limit Memory and CPU Quota.
  • Finally, click ‘Continue’ to proceed further.

Docs Version Dropdown